package com.edu.neusoft.elec_shop.mapper;

import com.edu.neusoft.elec_shop.domain.Goods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GoodsMapper {

    int insert(Goods record);

    //获取所有商品信息
    List<Goods> getAllGoods();

    //根据商品id删除商品
    void deleteGoodsById(Long goodsId);

}